package com.ruoyi.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 角色和菜单关联 sys_role_menu
 */
@Data
public class SysRoleMenu extends Model<SysRoleMenu>
{
    /** 角色ID */
    private Long roleId;
    
    /** 菜单ID */
    private Long menuId;

    public SysRoleMenu(Long roleId, Long menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }
    public SysRoleMenu() {
    }
}
